package com.lzzy;
// 定义学生类

public class Student {
    public Integer id;
    public String name;

    public Student(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    @Override
    public String toString() {
        return "学号：" + this.id.toString() + ",姓名：" + this.name;
    }

}
class wooden{
    public Integer hight;
    public String name;

    public wooden(Integer hight, String name) {
        this.hight = hight;
        this.name = name;
    }

    @Override
    public String toString() {
        return "高度：" + this.hight.toString() + ",名称：" + this.name;
    }
}



